#pragma once
#include "MyRuleStruct.h"
class BaseDialog;

class reg
{
public:
	reg();
	~reg();
public:
	BOOL StartRegMonitor(BaseDialog *pBaseDlg);
	BOOL StartRegMonitorCancel(BaseDialog *pBaseDlg);

	WhatTodo RegNotifyFunc(Param& op);
private:
	static unsigned int __stdcall RunStartRegMonitor(void *lpParam);
	static unsigned int __stdcall RunStartRegMonitorCancel(void *lpParam);

	void RegMonitorCancel(BaseDialog *pBaseDlg);
	void RegMonitor(BaseDialog *pBaseDlg);
};

